package com.ruoyi.transport.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 运输计划对象 t_transport_plan
 * 
 * @author wzy
 * @date 2024-11-18 13:29:10
 */
public class TTransportPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划ID */
    private Long transportPlanId;

    /** 计划编号 */
    @Excel(name = "计划编号")
    private String transportPlanNumber;

    /** 计划状态 */
    @Excel(name = "计划状态")
    private String transportPlanStatus;

    /** 发运日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发运日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dispatchDate;

    /** 发货客户 */
    @Excel(name = "发货客户")
    private String sendGoodsCustomer;

    /** 发货人 */
    @Excel(name = "发货人")
    private String sendGoodsPerson;

    /** 发货电话 */
    @Excel(name = "发货电话")
    private String sendGoodsMobile;

    /** 始发流向 */
    @Excel(name = "始发流向")
    private String beginFlowDirection;

    /** 发货地址 */
    @Excel(name = "发货地址")
    private String sendGoodsAddress;

    /** 收货客户 */
    @Excel(name = "收货客户")
    private String receiveGoodsCustomer;

    /** 收货人 */
    @Excel(name = "收货人")
    private String receiveGoodsPerson;

    /** 收货电话 */
    @Excel(name = "收货电话")
    private String receiveGoodsMobile;

    /** 目的流向 */
    @Excel(name = "目的流向")
    private String endFlowDirection;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String receiveGoodsAddress;

    /** 货物类型 */
    @Excel(name = "货物类型")
    private String goodsType;

    /** 重量(吨) */
    @Excel(name = "重量(吨)", cellType = Excel.ColumnType.NUMERIC)
    private Double freightWeight;

    /** 件数 */
    @Excel(name = "件数", cellType = Excel.ColumnType.NUMERIC)
    private Integer freightPiece;

    /** 已发车数 */
    @Excel(name = "已发车数", cellType = Excel.ColumnType.NUMERIC)
    private Integer despatchVehicleNumber;

    /** 已发重量(吨) */
    @Excel(name = "已发重量(吨)", cellType = Excel.ColumnType.NUMERIC)
    private Double despatchWeight;

    /** 已发件数 */
    @Excel(name = "已发件数", cellType = Excel.ColumnType.NUMERIC)
    private Integer despatchPiece;

    /** 剩余重量(吨) */
    @Excel(name = "剩余重量(吨)", cellType = Excel.ColumnType.NUMERIC)
    private Double remainWeight;

    /** 剩余件数 */
    @Excel(name = "剩余件数", cellType = Excel.ColumnType.NUMERIC)
    private Integer remainPiece;

    /** 派车号码 */
    @Excel(name = "派车号码")
    private String dispatchVehicleNumber;

    /** 数据权限 */
    private String dataRealm;

    /** 园区代码 */
    private String parkCode;

    /** 删除标识 （0代表存在 2代表删除） */
    private String delFlag;

    public void setTransportPlanId(Long transportPlanId) 
    {
        this.transportPlanId = transportPlanId;
    }

    public Long getTransportPlanId() 
    {
        return transportPlanId;
    }
    public void setTransportPlanNumber(String transportPlanNumber) 
    {
        this.transportPlanNumber = transportPlanNumber;
    }

    public String getTransportPlanNumber() 
    {
        return transportPlanNumber;
    }
    public void setTransportPlanStatus(String transportPlanStatus) 
    {
        this.transportPlanStatus = transportPlanStatus;
    }

    public String getTransportPlanStatus() 
    {
        return transportPlanStatus;
    }
    public void setDispatchDate(Date dispatchDate) 
    {
        this.dispatchDate = dispatchDate;
    }

    public Date getDispatchDate() 
    {
        return dispatchDate;
    }
    public void setSendGoodsCustomer(String sendGoodsCustomer) 
    {
        this.sendGoodsCustomer = sendGoodsCustomer;
    }

    public String getSendGoodsCustomer() 
    {
        return sendGoodsCustomer;
    }
    public void setSendGoodsPerson(String sendGoodsPerson) 
    {
        this.sendGoodsPerson = sendGoodsPerson;
    }

    public String getSendGoodsPerson() 
    {
        return sendGoodsPerson;
    }
    public void setSendGoodsMobile(String sendGoodsMobile) 
    {
        this.sendGoodsMobile = sendGoodsMobile;
    }

    public String getSendGoodsMobile() 
    {
        return sendGoodsMobile;
    }
    public void setBeginFlowDirection(String beginFlowDirection) 
    {
        this.beginFlowDirection = beginFlowDirection;
    }

    public String getBeginFlowDirection() 
    {
        return beginFlowDirection;
    }
    public void setSendGoodsAddress(String sendGoodsAddress) 
    {
        this.sendGoodsAddress = sendGoodsAddress;
    }

    public String getSendGoodsAddress() 
    {
        return sendGoodsAddress;
    }
    public void setReceiveGoodsCustomer(String receiveGoodsCustomer) 
    {
        this.receiveGoodsCustomer = receiveGoodsCustomer;
    }

    public String getReceiveGoodsCustomer() 
    {
        return receiveGoodsCustomer;
    }
    public void setReceiveGoodsPerson(String receiveGoodsPerson) 
    {
        this.receiveGoodsPerson = receiveGoodsPerson;
    }

    public String getReceiveGoodsPerson() 
    {
        return receiveGoodsPerson;
    }
    public void setReceiveGoodsMobile(String receiveGoodsMobile) 
    {
        this.receiveGoodsMobile = receiveGoodsMobile;
    }

    public String getReceiveGoodsMobile() 
    {
        return receiveGoodsMobile;
    }
    public void setEndFlowDirection(String endFlowDirection) 
    {
        this.endFlowDirection = endFlowDirection;
    }

    public String getEndFlowDirection() 
    {
        return endFlowDirection;
    }
    public void setReceiveGoodsAddress(String receiveGoodsAddress) 
    {
        this.receiveGoodsAddress = receiveGoodsAddress;
    }

    public String getReceiveGoodsAddress() 
    {
        return receiveGoodsAddress;
    }
    public void setGoodsType(String goodsType) 
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType() 
    {
        return goodsType;
    }
    public void setFreightWeight(Double freightWeight) 
    {
        this.freightWeight = freightWeight;
    }

    public Double getFreightWeight() 
    {
        return freightWeight;
    }
    public void setFreightPiece(Integer freightPiece) 
    {
        this.freightPiece = freightPiece;
    }

    public Integer getFreightPiece() 
    {
        return freightPiece;
    }
    public void setDespatchVehicleNumber(Integer despatchVehicleNumber) 
    {
        this.despatchVehicleNumber = despatchVehicleNumber;
    }

    public Integer getDespatchVehicleNumber() 
    {
        return despatchVehicleNumber;
    }
    public void setDespatchWeight(Double despatchWeight) 
    {
        this.despatchWeight = despatchWeight;
    }

    public Double getDespatchWeight() 
    {
        return despatchWeight;
    }
    public void setDespatchPiece(Integer despatchPiece) 
    {
        this.despatchPiece = despatchPiece;
    }

    public Integer getDespatchPiece() 
    {
        return despatchPiece;
    }
    public void setRemainWeight(Double remainWeight) 
    {
        this.remainWeight = remainWeight;
    }

    public Double getRemainWeight() 
    {
        return remainWeight;
    }
    public void setRemainPiece(Integer remainPiece) 
    {
        this.remainPiece = remainPiece;
    }

    public Integer getRemainPiece() 
    {
        return remainPiece;
    }
    public void setDispatchVehicleNumber(String dispatchVehicleNumber) 
    {
        this.dispatchVehicleNumber = dispatchVehicleNumber;
    }

    public String getDispatchVehicleNumber() 
    {
        return dispatchVehicleNumber;
    }
    public void setDataRealm(String dataRealm) 
    {
        this.dataRealm = dataRealm;
    }

    public String getDataRealm() 
    {
        return dataRealm;
    }
    public void setParkCode(String parkCode) 
    {
        this.parkCode = parkCode;
    }

    public String getParkCode() 
    {
        return parkCode;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("transportPlanId", getTransportPlanId())
            .append("transportPlanNumber", getTransportPlanNumber())
            .append("transportPlanStatus", getTransportPlanStatus())
            .append("dispatchDate", getDispatchDate())
            .append("sendGoodsCustomer", getSendGoodsCustomer())
            .append("sendGoodsPerson", getSendGoodsPerson())
            .append("sendGoodsMobile", getSendGoodsMobile())
            .append("beginFlowDirection", getBeginFlowDirection())
            .append("sendGoodsAddress", getSendGoodsAddress())
            .append("receiveGoodsCustomer", getReceiveGoodsCustomer())
            .append("receiveGoodsPerson", getReceiveGoodsPerson())
            .append("receiveGoodsMobile", getReceiveGoodsMobile())
            .append("endFlowDirection", getEndFlowDirection())
            .append("receiveGoodsAddress", getReceiveGoodsAddress())
            .append("goodsType", getGoodsType())
            .append("freightWeight", getFreightWeight())
            .append("freightPiece", getFreightPiece())
            .append("despatchVehicleNumber", getDespatchVehicleNumber())
            .append("despatchWeight", getDespatchWeight())
            .append("despatchPiece", getDespatchPiece())
            .append("remainWeight", getRemainWeight())
            .append("remainPiece", getRemainPiece())
            .append("dispatchVehicleNumber", getDispatchVehicleNumber())
            .append("remark", getRemark())
            .append("dataRealm", getDataRealm())
            .append("parkCode", getParkCode())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
